package cn.unknowpupil.init.configure.threads;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created at 2020/10/20 by w10g <br>
 * Initialize TaskThreadPoolConfig ... <br>
 *
 * @author unknowpupil
 * @since 0.0.1
 */
@Data
@Component
@ConfigurationProperties(prefix = "task.pool")
public class TaskThreadPoolConfig {
    private int corePoolSize;

    private int maxPoolSize;

    private int keepAliveSeconds;

    private int queueCapacity;
}